<?php
namespace app\index\controller;
use think\Controller;
class Error extends Controller
{
    public function _empty($name)
    {
       if(!wx_mobile()){
            $this->redirect("https://www.baidu.com/");
        }
        return $this->fetch('/Public/404');
    }
    
    
    public function index()
    {
        if(!wx_mobile()){
            $this->redirect("https://www.baidu.com/");
        }
        return $this->fetch('/Public/404');
    }
}
